#ifndef _WDG_H_
#define _WDG_H_
/*private include********************************************************************/
#include "stm32l0xx_hal.h"
#include "stm32l0xx_nucleo.h"
#include "error.h"

#define WDG_DEFAULT_LOAD_VALUE    1000   //uint: ms

void iwdg_resume_check(void);
void iwdg_reset_value_config(uint32_t data);
void iwd_feed(void);

#endif //_WDG_H_
